package creational.abstract_factory;

/**
 * @ClassName: BenzFactory
 * @Description: 抽象工厂接口实现一
 * @Author: liu-hao
 * @Date: 2023-05-19 22:58
 * @Version: 1.0
 **/
public class BenzFactory extends AbstractFactory {
    @Override
    public Car driverCar() {
        return new BenzCar();
    }

    @Override
    public Plane driverPlane() {
        return new BenzPlane();
    }

    @Override
    public Tank driverTank() {
        return new BenzTank();
    }
}